//
//  Button1.m
//  register
//
//  Created by dllo on 16/6/6.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "Button1.h"

@implementation Button1


+(instancetype)buttonWithType:(UIButtonType)buttonType withFrame:(CGRect)frame{
    Button1 *butt2 =[Button1 buttonWithType:UIButtonTypeSystem];
    
    butt2.frame = frame;
    [butt2 setTitle:@"返回" forState:UIControlStateNormal];
    butt2.font = [UIFont fontWithName:@"Helvetica-Bold"size:22];
    [butt2 setTitleColor:[UIColor blueColor] forState:UIControlStateNormal];
    
    
    return butt2;
    
}


@end
